package com.example.springbolgdemo.pojo.request;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class UpdateBlogRequest {
    @NotNull(message = "id不能为空")
    Integer id;
    @NotBlank(message = "标题不能为空")
    String title;
    @NotBlank(message = "内容不能为空")
    String content;
}
